package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地图中的地点信息表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsMapSite对象", description="地图中的地点信息表")
public class ZsMapSite extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地图地点主键")
    @TableId(value = "ms_id", type = IdType.AUTO)
    private Integer msId;

    @ApiModelProperty(value = "地点名称")
    private String rTitle;

    @ApiModelProperty(value = "地点所在分类")
    private Integer rcId;

    @ApiModelProperty(value = "所在X轴位置")
    private Integer fixedX;

    @ApiModelProperty(value = "所在Y轴位置")
    private Integer fixedY;

    @ApiModelProperty(value = "资源所在的层级")
    private Boolean level;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "是否有气泡")
    private Boolean isIcon;

    @ApiModelProperty(value = "活动图标")
    private String rThumbnail;

    @ApiModelProperty(value = "关联的景点ID 在zs_resource表中")
    private Integer spotId;


}
